package com.love.cloud.common.security.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @author hongdongqu
 */
@Data
@RefreshScope
@Configuration
@ConfigurationProperties("my.security.token")
public class MySecurityTokenProperties {
    /**
     * 同一个用户登陆是否只生成一个token
     */
    private Boolean userOnlyTokenGenerator=true;
}
